Add Devin for Group Audit demo kit (RACM ontology, playbooks, reporting templates)#253
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Add Devin for Group Audit demo kit (RACM ontology, playbooks, reporting templates)#253devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…ng templates) Co-Authored-By: Alex Hammett <alex.hammett@windsurf.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a self-contained "Devin for Group Audit" demo kit under
audit/, using this banking app as the auditee. It demonstrates how Devin supports an internal-audit (third line of defence) function across three pillars the Lloyds Group Audit team cares about: an audit ontology (Risk & Control Matrix), control testing (ITGC + application controls + code review as a continuous control), and audit reporting. No application code is touched — this is documentation/config only.The thesis encoded throughout: Devin is the execution & evidence layer of internal audit — under the auditor's sign-off it plans testing from a machine-readable control catalogue, executes tests, re-performs calculations, reviews code as a continuous control, and drafts cited workpapers/findings. It does not replace auditor judgement or independence.
The kit is deliberately grounded in real gaps that already exist in this repo, so the demo is repeatable and Devin discovers genuine findings (nothing is faked):
racm.yaml)amount > 0validation → negative transfer steals from recipient (AccountService.java:51-135)transferAmountnot@Transactional→ partial failure destroys money"USER"authority, no SoD (AccountService.java:99-101)csrf.disable()on state-changing endpoints (SecurityConfig.java:30)application.properties:4-5)Jenkinsfile:26)contextLoads()ddl-auto=updateauto-mutates schema (application.properties:9)What's in
audit/racm.yaml— the ontology: 4 auditable entities, 8 risks, 6 regulations (ICFR / PRA-FCA / SMCR / Consumer Duty / Op-Resilience / GDPR), and 11 controls. Each control carriestest_procedure,population,pass_criteria,evidence_required, and anexpected_demo_resultwithfile:linereferences.ontology.md— the entity → risk → control → test → evidence → finding → action model.playbooks/— 4 modular (phase-gated) playbooks: Audit Planning & Coverage, ITGC Testing, Application-Control Re-performance, Findings & Reporting.templates/— workpaper, 5-Cs finding, audit-committee one-pager.samples/— a worked workpaper (APP-TXN-01) and a worked finding (FND-01) showing the output Devin produces.ccm/— a Continuous Controls Monitoring spec (scheduled re-testing, escalate-on-change).README.md— the demo runbook with the 3-step flow (Ask Devin → Ask Devin → Devin session) and the expected-findings table.Demo flow
file:line/ commit / command output.The corresponding Devin Playbooks and a RACM Knowledge note are created in the workspace separately so the
@playbook:references resolve in a live demo.Link to Devin session: https://app.devin.ai/sessions/fe3be37ee47e4bd99a23c86e30291623
Requested by: @Hammy-2025
Devin Review